<%--
  Created by IntelliJ IDEA.
  User: Vadim
  Date: 11/20/14
  Time: 8:53 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %>
<%@ page isELIgnored="false" %>

<html>
    <head>
        <title>Register Form</title>
        <link rel="stylesheet" href="../content/style/style.css">
        <script src="../content/scripts/jquery.min.js"></script>

    </head>
    <body>
        <div id="container">
            <div id="header">
                <jsp:include page="/publicpages/common/authorization_header.jsp"/>
            </div>
            <div id="body">
                <form action="/securepages/register_user.do" method="post">
                    <div  class="div_center_page">
                        <table>
                            <col>
                            <col width="250">
                            <col>
                            <tr>
                                <td colspan="2" style="text-align:center; ">
                                    <h3 style="margin-left: 60; margin-bottom: 15;" > Enter your Email </h3>
                                </td>
                                <td>

                                </td>
                                <td>

                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <p style="color: darkslateblue;"> <strong> Email:</strong> </p>
                                </td>
                                <td>
                                    <input type="text" name="email" value="${param.email}" style="width:100%;"/>
                                </td>
                                <td>
                                    <div style="color: #ff0000">${ErrorEmail}</div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <p style="color: darkslateblue;"> <strong> Full Name:</strong> </p>
                                </td>
                                <td>
                                    <input type="text" name="name" value="${param.name}" style="width:100%;"/>
                                </td>
                                <td>

                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <p style="color: darkslateblue;"> <strong>Password: </strong></p>
                                </td>
                                <td>
                                    <input type="password" name="password0" value="${param.password0}" style="width:100%;"/>
                                </td>
                                <td>
                                    <div style="color: #ff0000">${ErrorPassw0}</div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <p style="color: darkslateblue;"> <strong>Repeat Password: </strong></p>
                                </td>
                                <td>
                                    <input type="password" name="password1" value="${param.password1}" style="width:100%;"/>
                                </td>
                                <td>
                                    <div style="color: #ff0000">${ErrorPassw1}</div>
                                </td>
                            </tr>
                            <tr>
                                <td></td>
                                <td><div style="color: #ff0000">${ErrorSummary}</div></td>
                                <td></td>
                            </tr>
                            <tr>
                                <td>

                                </td>
                                <td style="text-align: right;">
                                    <input type="submit" value="Register"/>
                                </td>
                                <td>

                                </td>
                            </tr>
                        </table>
                    </div>
                </form>
            </div>
            <div id="footer">
                <jsp:include page="/publicpages/common/footer.jsp"/>
            </div>
        </div>
    </body>
</html>
